<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <#assign var="Hello Freemarker"/>
    <fron size="18px">${var}</fron>

    <h2>1.基本取值</h2>
    <div class="demo-div">
        <ul>
            <li>赋值&运算</li>
            <#assign a=100/>
            a=<font color="red">${a}</font><br/>
            a+100=<font color="red">${a+100}</font><br/>
        </ul>
    </div>

    <h2>1 switch case break default</h2>
    <div class="demo=div">
        <ul>
            <#assign var=10/>
            <#switch var>
                <#case 10>
                    100<br>
                    <#break>
                <#case 100>
                    1000
                    <#break>
                 <#default>
                     other
                     <#break>

            </#switch>
        </ul>
    </div>
</body>
</html>